package com.hmily.dubbo.provider.spi.ioc.impl;

import com.hmily.dubbo.provider.spi.ioc.AnimalService;
import org.apache.dubbo.common.URL;

/**
 * <h1>Rabbit服务。</h1>
 *
 * @author hmilyylimh
 * ^_^
 * @version 0.0.1
 * ^_^
 * @date 2021-11-14
 */
public class RabbitService implements AnimalService {

    @Override
    public String getWeight(URL url) {
        return "rabbit, name=" + url.getParameter("name") +", weight=10Kg";
    }
}
